:host {
  @apply relative overflow-hidden;
}

:is(.cube, .dimension).selected {
  @apply z-20 shadow-md border-neutral-300 dark:border-neutral-600;
}

:is(.level-item, .dimension-item, .measure-item) {
  @apply border border-solid border-transparent;

  &.selected {
    @apply shadow-md border-neutral-300 dark:border-neutral-600;
  }
}

.connection-item {
  path {
    @apply stroke-neutral-300 dark:stroke-neutral-800;
  }
  &.selected path {
    @apply stroke-neutral-500 dark:stroke-neutral-600;
    stroke-width: 3;
  }
}